@page "/products/{id?}"

<ProductTable Title="Product Management" Products=@_products EditProduct=@OnEditProduct>
    <MudButton Variant="Variant.Filled" StartIcon="@Icons.Material.Filled.Add"
        Color="Color.Primary" Size="Size.Large" DisableElevation="true" OnClick=@CreateNewProduct>
        Create New Product
    </MudButton>
    <MudDivider Vertical="true" FlexItem="true" Class="my-3 mx-4"/>
</ProductTable>
<ManageProductModal @ref=_modal ProductUpdated=@OnProductUpdated />